package com.zhc.dejingapi.controller;


import com.zhc.dejingapi.entity.QingBoilingsendworkEntity;
import com.zhc.dejingapi.entity.query.BoilingQuery;
import com.zhc.dejingapi.service.QingBoilingsendworkService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * <p>
 * 水处理派工单 前端控制器
 * </p>
 *
 * @author zhc
 * @since 2024-10-11
 */
@RestController
@RequestMapping("/qing-boilingsendwork")
@CrossOrigin
public class QingBoilingsendworkController {

    @Resource
    private QingBoilingsendworkService qingBoilingsendworkService;

    @PostMapping("/getBoiling")
    public QingBoilingsendworkEntity getBoiling(@RequestBody BoilingQuery boilingQuery){
        return qingBoilingsendworkService.getBoiling(boilingQuery);
    }
}
